package com.gx.srping.cloud.config.client.configclient;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


//@RestController
@SpringBootApplication
public class ConfigClientApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(ConfigClientApplication.class).web(true).run(args);

//		SpringApplication.run(ConfigClientApplication.class, args);
	}



//	@Value("${info}")
//	Map info;
//	@RequestMapping(value = "/hi")
//	public Map hi(){
//		return info;
//	}

}
